home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 March / CMCD0305.ISO / Software / Shareware / Utilitare / emu / Emu8086_Setup_307c.exe / {app} / DEVICES / Printer_ReadMe.txt < prev    next >
Encoding:
Text File  |  2004-10-01  |  1.4 KB  |  39 lines

  1. Printer.exe - Device for Emu8086
  2.  
  3. Andrew Nelis (andrewn@nipltd.com)
  4.  
  5. Date: 20 Feb 2003
  6.  
  7. Description: Simple line printer device
  8.  
  9. ** Usage **
  10.  
  11. Start up printer.exe. Now the printer can be accessed through port 130 (decimal).
  12.  
  13. Controlling it is simple, you just 'out' a byte to the printer port and it'll print out
  14. the corresponding character onto the page, then clear the port back to zero once its
  15. done, that way you can tell when it's time to pass it the next character.
  16.  
  17. A few things to note:
  18.  
  19. If the char value is greater than 31, then it'll just be printed straight out.
  20. Below and including that, it's won't be printed (they wouldn't come out anyway?)
  21. apart from the ones that I've implemented:
  22.  
  23. 07 - Bell. Well I had to didn't I?  ;)
  24. 08 - Backspace, move print head left one character
  25. 10 - Line feed
  26. 13 - Carriage return
  27.  
  28. The below 32 control codes are actually ascii control codes.
  29.  
  30. Well, have a good play with it - the VB source is included too if you're interested.
  31.  
  32. ** Notes/Todo **
  33.  
  34. - Please email me if you have any coments/requests, bug fixes.
  35. - It's not finished yet, apart from the basic functionality.
  36. - Not a lot distinguishes it from the user screen, I was trying to get a printer head moving across (see the .bmps)
  37.   the screen but couldn't figure out why VB wasn't moving it. Also maybe it could be joined with a real printer?
  38.   And it's interface could be closer to that of a real parallel port.
  39. - Must sleeeeppp .....